import Vue from 'vue'
import $ from 'zepto'
import router from './router'
import uiPanel from '@/components/panel'
import uiNav from '@/components/nav'
import uiHeader from '@/components/header'
import Vuex from 'vuex'
Vue.use(Vuex)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  mounted () {
    console.log('安装')
    $.init()
  },
  updated () {
    console.log('更新')
    $.init()
  },
  components: {
    uiPanel,
    uiNav,
    uiHeader
  }
})
